package com.test.pattern.visitor;

/**
 * @ClassName: Person
 * @description: 抽象访问者角色类
 * @author: Mr du
 * @create: 2024-03-17 22:24
 */
public interface Person {

    //喂食宠物猫
    void feed(Cat cat);

    //喂食宠物狗
    void feed(Dog dog);
}
